Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-standard keys selector and current key identifier #12

Merged
merged 9 commits into from
Mar 26, 2024
Merged

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Mar 25, 2024

Add a non-standard keys selector (~), selecting property names from objects.

Add a non-standard current key identifier (#). # will be the key or index corresponding to @ in a filter expression.

The keys selector and current key identifier are only enabled when setting the strict option to false when constructing a JSONPathEnvironment.

@jg-rp jg-rp marked this pull request as ready for review March 25, 2024 19:19
@jg-rp jg-rp merged commit baa705b into main Mar 26, 2024
12 checks passed
@jg-rp jg-rp deleted the keys branch March 26, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant